\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view}{
\section{pycol.engine.view.Player\_\-view.Player\_\-view Class Reference}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view}\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
}


Documentation for Human\_\-view class \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view}{Player\_\-view} is a class between the physical player and the \hyperlink{namespacepycol_1_1engine_1_1pattern}{pattern} Human.  
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a8abd11d08d9eaaa01edc151710f523f1}{\_\-\_\-init\_\-\_\-}
\begin{DoxyCompactList}\small\item\em The constructor. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a9a5c9e8d75c7bcacce3b1f8cb8c2e3dc}{set\_\-player\_\-type}
\begin{DoxyCompactList}\small\item\em Public method set\_\-player\_\-type. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a4c0815976a6eae796136b0a95b16b139}{set\_\-player\_\-name}
\begin{DoxyCompactList}\small\item\em Public method set\_\-player\_\-name. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a35fd3941897cca661a37b7d9be43b41d}{name\_\-already\_\-use}
\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a8cd702b21cbec71e6dc65d3a57552b20}{set\_\-player\_\-team}
\begin{DoxyCompactList}\small\item\em Public method set\_\-player\_\-team. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a25905d25b8f3726989c546ea57b00ef7}{set\_\-player}
\begin{DoxyCompactList}\small\item\em Public method set\_\-player. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_ade1866b247206e9a511f8c95f545a9c1}{ask\_\-which\_\-card\_\-need\_\-be\_\-selected}
\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a31c6ebe5755d3ea9d0c3d6771e333ace}{rotate\_\-card}
\begin{DoxyCompactList}\small\item\em Public method rotate\_\-card. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a3d867e0c0033cdfa8097843bc50f73c7}{which\_\-action}
\begin{DoxyCompactList}\small\item\em Public method which\_\-action. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a4c5163579b2c2e55a83351836365eaad}{show\_\-card}
\begin{DoxyCompactList}\small\item\em Public method show\_\-card. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a4e7e334751b45c1a3dcdc7ec8ae8ecae}{choice\_\-not\_\-understand}
\begin{DoxyCompactList}\small\item\em Public method choice\_\-not\_\-understand. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a0255a4d9aa4ccd6874382fc74674802a}{show\_\-hand}
\begin{DoxyCompactList}\small\item\em Public method show\_\-hand. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_ad46ca6d31ae383bf35fbe2c9001b9dd4}{current\_\-score}
\begin{DoxyCompactList}\small\item\em Public method current\_\-score. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_af20bcf4727f953cc72256a7cb29eb412}{\_\-\_\-beautiful\_\-print}
\begin{DoxyCompactList}\small\item\em Private method \_\-\_\-beautiful\_\-print. \item\end{DoxyCompactList}\item 
def \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_af20bcf4727f953cc72256a7cb29eb412}{\_\-\_\-beautiful\_\-print}
\begin{DoxyCompactList}\small\item\em Private method \_\-\_\-beautiful\_\-print. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Documentation for Human\_\-view class \hyperlink{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view}{Player\_\-view} is a class between the physical player and the \hyperlink{namespacepycol_1_1engine_1_1pattern}{pattern} Human. 

Definition at line 41 of file Player\_\-view.py.

\subsection{Member Function Documentation}
\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_af20bcf4727f953cc72256a7cb29eb412}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!\_\-\_\-beautiful\_\-print@{\_\-\_\-beautiful\_\-print}}
\index{\_\-\_\-beautiful\_\-print@{\_\-\_\-beautiful\_\-print}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{\_\-\_\-beautiful\_\-print}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.\_\-\_\-beautiful\_\-print ( {\em self}, \/   {\em text})\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_af20bcf4727f953cc72256a7cb29eb412}


Private method \_\-\_\-beautiful\_\-print. 
\begin{DoxyParams}{Parameters}
\item[{\em self}]The object pointer \item[{\em text,:}]The text who need be colored \end{DoxyParams}
\begin{DoxyReturn}{Returns}
: color\_\-text A colored text 
\end{DoxyReturn}


Definition at line 206 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_af20bcf4727f953cc72256a7cb29eb412}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!\_\-\_\-beautiful\_\-print@{\_\-\_\-beautiful\_\-print}}
\index{\_\-\_\-beautiful\_\-print@{\_\-\_\-beautiful\_\-print}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{\_\-\_\-beautiful\_\-print}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.\_\-\_\-beautiful\_\-print ( {\em self}, \/   {\em text})\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_af20bcf4727f953cc72256a7cb29eb412}


Private method \_\-\_\-beautiful\_\-print. 
\begin{DoxyParams}{Parameters}
\item[{\em self,:}]The object pointer \item[{\em text,:}]The text who need be colored \end{DoxyParams}
\begin{DoxyReturn}{Returns}
: color\_\-text A colored text 
\end{DoxyReturn}


Definition at line 141 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a8abd11d08d9eaaa01edc151710f523f1}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}}
\index{\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{\_\-\_\-init\_\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.\_\-\_\-init\_\-\_\- ( {\em self})}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a8abd11d08d9eaaa01edc151710f523f1}


The constructor. 
\begin{DoxyParams}{Parameters}
\item[{\em self,:}]The pointer object \end{DoxyParams}


Definition at line 44 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_ade1866b247206e9a511f8c95f545a9c1}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!ask\_\-which\_\-card\_\-need\_\-be\_\-selected@{ask\_\-which\_\-card\_\-need\_\-be\_\-selected}}
\index{ask\_\-which\_\-card\_\-need\_\-be\_\-selected@{ask\_\-which\_\-card\_\-need\_\-be\_\-selected}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{ask\_\-which\_\-card\_\-need\_\-be\_\-selected}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.ask\_\-which\_\-card\_\-need\_\-be\_\-selected ( {\em self}, \/   {\em card\_\-remaining})}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_ade1866b247206e9a511f8c95f545a9c1}


Definition at line 93 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a4e7e334751b45c1a3dcdc7ec8ae8ecae}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!choice\_\-not\_\-understand@{choice\_\-not\_\-understand}}
\index{choice\_\-not\_\-understand@{choice\_\-not\_\-understand}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{choice\_\-not\_\-understand}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.choice\_\-not\_\-understand ( {\em self}, \/   {\em choice})}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a4e7e334751b45c1a3dcdc7ec8ae8ecae}


Public method choice\_\-not\_\-understand. 
\begin{DoxyParams}{Parameters}
\item[{\em self,:}]The object pointer \item[{\em choice,:}]the choice enter by the player \end{DoxyParams}


Definition at line 172 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_ad46ca6d31ae383bf35fbe2c9001b9dd4}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!current\_\-score@{current\_\-score}}
\index{current\_\-score@{current\_\-score}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{current\_\-score}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.current\_\-score ( {\em self}, \/   {\em player})}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_ad46ca6d31ae383bf35fbe2c9001b9dd4}


Public method current\_\-score. 
\begin{DoxyParams}{Parameters}
\item[{\em self}]The object pointer \item[{\em player,:}]The pointer to player object \end{DoxyParams}


Definition at line 221 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a35fd3941897cca661a37b7d9be43b41d}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!name\_\-already\_\-use@{name\_\-already\_\-use}}
\index{name\_\-already\_\-use@{name\_\-already\_\-use}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{name\_\-already\_\-use}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.name\_\-already\_\-use ( {\em self}, \/   {\em name})}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a35fd3941897cca661a37b7d9be43b41d}


Definition at line 67 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a31c6ebe5755d3ea9d0c3d6771e333ace}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!rotate\_\-card@{rotate\_\-card}}
\index{rotate\_\-card@{rotate\_\-card}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{rotate\_\-card}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.rotate\_\-card ( {\em self})}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a31c6ebe5755d3ea9d0c3d6771e333ace}


Public method rotate\_\-card. 
\begin{DoxyParams}{Parameters}
\item[{\em self,:}]The object pointer \end{DoxyParams}
\begin{DoxyReturn}{Returns}
: degree 
\end{DoxyReturn}


Definition at line 106 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a25905d25b8f3726989c546ea57b00ef7}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!set\_\-player@{set\_\-player}}
\index{set\_\-player@{set\_\-player}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{set\_\-player}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.set\_\-player ( {\em self}, \/   {\em value})}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a25905d25b8f3726989c546ea57b00ef7}


Public method set\_\-player. 
\begin{DoxyParams}{Parameters}
\item[{\em self,:}]The pointer object \item[{\em value,:}]The player pointer object \end{DoxyParams}


Definition at line 90 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a4c0815976a6eae796136b0a95b16b139}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!set\_\-player\_\-name@{set\_\-player\_\-name}}
\index{set\_\-player\_\-name@{set\_\-player\_\-name}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{set\_\-player\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.set\_\-player\_\-name ( {\em self}, \/   {\em number})}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a4c0815976a6eae796136b0a95b16b139}


Public method set\_\-player\_\-name. 
\begin{DoxyParams}{Parameters}
\item[{\em self,:}]The pointer object \item[{\em number,:}]The player number \end{DoxyParams}


Definition at line 59 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a8cd702b21cbec71e6dc65d3a57552b20}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!set\_\-player\_\-team@{set\_\-player\_\-team}}
\index{set\_\-player\_\-team@{set\_\-player\_\-team}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{set\_\-player\_\-team}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.set\_\-player\_\-team ( {\em self}, \/   {\em number})}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a8cd702b21cbec71e6dc65d3a57552b20}


Public method set\_\-player\_\-team. 
\begin{DoxyParams}{Parameters}
\item[{\em self,:}]The pointer object \item[{\em number,:}]The player number \end{DoxyParams}


Definition at line 75 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a9a5c9e8d75c7bcacce3b1f8cb8c2e3dc}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!set\_\-player\_\-type@{set\_\-player\_\-type}}
\index{set\_\-player\_\-type@{set\_\-player\_\-type}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{set\_\-player\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.set\_\-player\_\-type ( {\em self})}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a9a5c9e8d75c7bcacce3b1f8cb8c2e3dc}


Public method set\_\-player\_\-type. 
\begin{DoxyParams}{Parameters}
\item[{\em self,:}]The pointer object \end{DoxyParams}


Definition at line 49 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a4c5163579b2c2e55a83351836365eaad}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!show\_\-card@{show\_\-card}}
\index{show\_\-card@{show\_\-card}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{show\_\-card}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.show\_\-card ( {\em self}, \/   {\em name}, \/   {\em card})}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a4c5163579b2c2e55a83351836365eaad}


Public method show\_\-card. 
\begin{DoxyParams}{Parameters}
\item[{\em self,:}]The object pointer \item[{\em name,:}]The player name \item[{\em card,:}]Pointer to a card object \end{DoxyParams}


Definition at line 157 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a0255a4d9aa4ccd6874382fc74674802a}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!show\_\-hand@{show\_\-hand}}
\index{show\_\-hand@{show\_\-hand}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{show\_\-hand}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.show\_\-hand ( {\em self}, \/   {\em list\_\-card})}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a0255a4d9aa4ccd6874382fc74674802a}


Public method show\_\-hand. 
\begin{DoxyParams}{Parameters}
\item[{\em self,:}]The object pointer \item[{\em list\_\-card,:}]A list of card \end{DoxyParams}


Definition at line 180 of file Player\_\-view.py.\hypertarget{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a3d867e0c0033cdfa8097843bc50f73c7}{
\index{pycol::engine::view::Player\_\-view::Player\_\-view@{pycol::engine::view::Player\_\-view::Player\_\-view}!which\_\-action@{which\_\-action}}
\index{which\_\-action@{which\_\-action}!pycol::engine::view::Player_view::Player_view@{pycol::engine::view::Player\_\-view::Player\_\-view}}
\subsubsection[{which\_\-action}]{\setlength{\rightskip}{0pt plus 5cm}def pycol.engine.view.Player\_\-view.Player\_\-view.which\_\-action ( {\em self}, \/   {\em name})}}
\label{classpycol_1_1engine_1_1view_1_1Player__view_1_1Player__view_a3d867e0c0033cdfa8097843bc50f73c7}


Public method which\_\-action. 
\begin{DoxyParams}{Parameters}
\item[{\em self,:}]The object pointer \item[{\em name,:}]The player name \end{DoxyParams}
\begin{DoxyReturn}{Returns}
: choice 
\end{DoxyReturn}


Definition at line 122 of file Player\_\-view.py.

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/jonathan/Projets/Python/pycol/engine/view/\hyperlink{Player__view_8py}{Player\_\-view.py}\end{DoxyCompactItemize}
